package com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.signingSubject;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 合同签约主体创建 Request VO")
@Data
@ToString(callSuper = true)
public class SigningSubjectCreateReqVO {
    @Schema(description = "企业名称")
    @NotNull(message = "企业名称不能为空")
    private String companyName;

    @Schema(description = "统一社会信用代码")
    @NotNull(message = "统一社会信用代码不能为空")
    private String companyIdCard;

    @Schema(description = "法定代表人姓名")
    @NotNull(message = "法定代表人姓名不能为空")
    private String legal;

    @Schema(description = "手机号码")
    @NotNull(message = "手机号码不能为空")
    private String phone;

    @Schema(description = "法定代表人身份证号")
    @NotNull(message = "法定代表人身份证号不能为空")
    private String idCard;

    @Schema(description = "邮箱")
    @NotNull(message = "邮箱不能为空")
    private String email;
}
